using System;
using Habanero.Base;

namespace FireStarter.Base
{
    [Flags]
    public enum ChangeType
    {
        None = 1,
        Add = 2,
        Delete = 4,
        Update = 8,
        Rename = 16,
        All = None | Add | Delete | Update | Rename
    }
    public interface IMergableBo : IBusinessObject
    {
        ChangeType PendingChangeType { get; set; }

        /// <summary>
        /// Whether this change is approved to be applied to the domain model
        /// </summary>
        bool PendingChangeApproved { get; set; }
    }
}